﻿<%@ Page Title="" Language="C#" MasterPageFile="~/main.Master" AutoEventWireup="true" CodeBehind="DatHang.aspx.cs" Inherits="WebBanHang.DonHang" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
    <style type="text/css">
        .style33
        {
            width: 134px;
            height: 42px;
        }
        .style34
        {
            width: 153px;
            height: 42px;
        }
        .style35
        {
            width: 141px;
            height: 42px;
        }
        .style36
        {
            width: 134px;
            height: 26px;
        }
        .style37
        {
            width: 153px;
            height: 26px;
        }
        .style38
        {
            width: 141px;
            height: 26px;
        }
        .style39
        {
            height: 42px;
        }
    </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server">
                </asp:ScriptManager>
    <asp:UpdatePanel ID="UpdatePanel1" runat="server">
    <ContentTemplate>
        <table class="style19">
        <tr>
            <td class="style33">
                
                Tên sản phẩm</td>
            <td class="style34">
                Giá tiền</td>
            <td class="style35">
                Số lượng</td>
            <td class="style39">
                Tổng tiền</td>
        </tr>
        <tr>
            <td class="style36">
                <asp:Label ID="lbTenSanPham" runat="server"></asp:Label>
            </td>
            <td class="style37">
                <asp:Label ID="lbGiaTien" runat="server"></asp:Label>
            </td>
            <td class="style38">
                <asp:DropDownList ID="ddlSoLuong" runat="server" AutoPostBack="True" 
                    onselectedindexchanged="ddlSoLuong_SelectedIndexChanged" Width="57px">
                    <asp:ListItem>1</asp:ListItem>
                    <asp:ListItem>2</asp:ListItem>
                    <asp:ListItem>3</asp:ListItem>
                    <asp:ListItem>4</asp:ListItem>
                    <asp:ListItem>5</asp:ListItem>
                    <asp:ListItem>6</asp:ListItem>
                    <asp:ListItem>7</asp:ListItem>
                    <asp:ListItem>8</asp:ListItem>
                    <asp:ListItem>9</asp:ListItem>
                    <asp:ListItem>10</asp:ListItem>
                </asp:DropDownList>
            </td>
            <td class="style16">
                <asp:Label ID="lbTongTien" runat="server"></asp:Label>
            </td>
        </tr>
    </table>
    
    <asp:Label ID="lbThongBao" runat="server"></asp:Label>
    <br />
    <asp:Button ID="Button1" runat="server" Text="Mua hàng" Width="101px" 
    onclick="Button1_Click" />
    </ContentTemplate>
    </asp:UpdatePanel>
</asp:Content>
